<%@page import="java.util.Date"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%
    Date d=(Date)session.getAttribute("fechahora");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>.:Sistema de Ventas:.</title>
        <style type="text/css">
            <!--
            body {
                background-color: #FFFF99;
            }
            body,td,th {
                font-family: Arial, Helvetica, sans-serif;
            }
            .Estilo1 {
                color:  #0000FF;
                font-weight: bold;
            }
            .Estilo2 {color:  #0000FF}
            -->
        </style></head>

    <body>
        
        <p align ="right">Le recordamos que Ud. ingresó el : <%=d%></p>
        <hr>
        <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr align="center" bgcolor="#FF0000">
                <td colspan="2"><h2><span class="Estilo1">Inicio de Sesion</span></h2></td>
            </tr>
            <tr>
                <td width="175"><img src="img/carritorx8[1].jpg" width="149" height="134" /></td>
                <td width="625">
                    <h1><c:out value="${titulo}" /></h1>


                    <form:form method="post" commandName="cliente">
                        <table bgcolor="f8f8ff" border="0" cellspacing="0"
                               cellpadding="5">
                            <tr>
                                <td align="right" width="20%">ID Usuario:</td>
                                <td width="20%"><form:input path="usuarioId" /></td>
                                <td width="60%"><form:errors path="usuarioId" cssClass="error" /></td>
                            </tr>
                            <tr>
                                <td align="right" width="20%">Clave:</td>
                                <td width="20%"><form:password path="password" /></td>
                                <td width="60%"><form:errors path="password" cssClass="error" /></td>
                            </tr>
                        </table>
                        <br />
                        <p><input type="submit" value="Login"></p>
                        </form:form>

                </td>
            </tr>
            <tr>
                <td colspan="2" bgcolor="#FF0000"><div align="center"><strong><span class="Estilo2">Inicio de Sesion</span></strong></div></td>
            </tr>
        </table>
    </body>
</html>
